package com.ourteam.product.ui.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:03 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseProductUIActionDAO
    extends IDataAccessInterface<ProductUIAction, ProductUIActionDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "PRODUCT_UI_ACTION";

  /** Mapped Field ID */
  static final String Id = "PRODUCT_UI_ACTION.ID";

  /** Mapped Field DOMAIN_ID */
  static final String DomainId = "PRODUCT_UI_ACTION.DOMAIN_ID";

  /** Mapped Field CODE */
  static final String Code = "PRODUCT_UI_ACTION.CODE";

  /** Mapped Field TYPE */
  static final String Type = "PRODUCT_UI_ACTION.TYPE";

  /** Mapped Field HANDLER */
  static final String Handler = "PRODUCT_UI_ACTION.HANDLER";

  /** Mapped Field ICON */
  static final String Icon = "PRODUCT_UI_ACTION.ICON";

  /** Mapped Field LABEL_TEXT */
  static final String LabelText = "PRODUCT_UI_ACTION.LABEL_TEXT";

  /** Mapped Field LABEL_KEY */
  static final String LabelKey = "PRODUCT_UI_ACTION.LABEL_KEY";

  /** Mapped Field CONFIRM_INFO */
  static final String ConfirmInfo = "PRODUCT_UI_ACTION.CONFIRM_INFO";

  /** Mapped Field CONFIRM_INFO_KEY */
  static final String ConfirmInfoKey = "PRODUCT_UI_ACTION.CONFIRM_INFO_KEY";

  /** Mapped Field LAST_MODIFY_USER */
  static final String LastModifyUser = "PRODUCT_UI_ACTION.LAST_MODIFY_USER";

  /** Mapped Field LAST_MODIFY_TIME */
  static final String LastModifyTime = "PRODUCT_UI_ACTION.LAST_MODIFY_TIME";

  /** Mapped Field STATUS */
  static final String Status = "PRODUCT_UI_ACTION.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "PRODUCT_UI_ACTION.REMARKS";

  /** Mapped Field PARENT_ID */
  static final String ParentId = "PRODUCT_UI_ACTION.PARENT_ID";

  /** Mapped Field SORT_INDEX */
  static final String SortIndex = "PRODUCT_UI_ACTION.SORT_INDEX";

  /** Mapped Field VISIBLE_SCRIPT */
  static final String VisibleScript = "PRODUCT_UI_ACTION.VISIBLE_SCRIPT";

  /** Mapped Field MENU_LIST_ID */
  static final String MenuListId = "PRODUCT_UI_ACTION.MENU_LIST_ID";

  /** Mapped Field DISABLE_SCRIPT */
  static final String DisableScript = "PRODUCT_UI_ACTION.DISABLE_SCRIPT";

  /** Mapped Field STYLE */
  static final String Style = "PRODUCT_UI_ACTION.STYLE";

  /** Mapped Attribute domainCode */
  static final String DomainCode =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIDomainDAO.DomainCode,
          com.ourteam.product.ui.dao.IProductUIDomainDAO.EntityName + ".",
          "PRODUCT_UI_DOMAIN.");

  /** Mapped Attribute domainName */
  static final String DomainName =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIDomainDAO.DomainName,
          com.ourteam.product.ui.dao.IProductUIDomainDAO.EntityName + ".",
          "PRODUCT_UI_DOMAIN.");

  /** Mapped Attribute listCode */
  static final String ListCode =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIListDAO.Code,
          com.ourteam.product.ui.dao.IProductUIListDAO.EntityName + ".",
          "RELATED_WEAF4H_ProductUIList.");

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute domainId */
    static final String DomainId = "domainId";

    /** Attribute code */
    static final String Code = "code";

    /** Attribute type */
    static final String Type = "type";

    /** Attribute handler */
    static final String Handler = "handler";

    /** Attribute icon */
    static final String Icon = "icon";

    /** Attribute labelText */
    static final String LabelText = "labelText";

    /** Attribute labelKey */
    static final String LabelKey = "labelKey";

    /** Attribute confirmInfo */
    static final String ConfirmInfo = "confirmInfo";

    /** Attribute confirmInfoKey */
    static final String ConfirmInfoKey = "confirmInfoKey";

    /** Attribute lastModifyUser */
    static final String LastModifyUser = "lastModifyUser";

    /** Attribute lastModifyTime */
    static final String LastModifyTime = "lastModifyTime";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";

    /** Attribute domainCode */
    static final String DomainCode = "domainCode";

    /** Attribute domainName */
    static final String DomainName = "domainName";

    /** Attribute parentId */
    static final String ParentId = "parentId";

    /** Attribute sortIndex */
    static final String SortIndex = "sortIndex";

    /** Attribute listCode */
    static final String ListCode = "listCode";

    /** Attribute visibleScript */
    static final String VisibleScript = "visibleScript";

    /** Attribute menuListId */
    static final String MenuListId = "menuListId";

    /** Attribute disableScript */
    static final String DisableScript = "disableScript";

    /** Attribute style */
    static final String Style = "style";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  ProductUIAction findById(final long id) throws Exception;
}
